<?php
/**
 * Created by JetBrains PhpStorm.
 * User: HoangAlex
 * Date: 6/7/12
 * Time: 3:30 PM
 * To change this template use File | Settings | File Templates.
 */
?>
<table>
    <thead>
        <th>Id</th>
        <th>Loại đơn giá</th>
        <th>Đơn giá</th>
        <th>Ngày nhập</th>
        <th>Ngày cập nhật</th>
        <th>Thao tác</th>
    </thead>
    <?php foreach($giasanphams as $giasanpham) : ?>
    <tr>
        <td>
            <?php echo $giasanpham['GiaSanPham']['id'] ?>
        </td>
        <td>
            <?php echo $giasanpham['GiaSanPham']['loaidongia'] ?>
        </td>
        <td>
            <?php echo $giasanpham['GiaSanPham']['dongia'] ?>
        </td>
        <td>
            <?php echo $giasanpham['GiaSanPham']['created'] ?>
        </td>
        <td>
            <?php echo $giasanpham['GiaSanPham']['modified'] ?>
        </td>
        <td>

        </td>
    </tr>
        <?php endforeach; ?>
</table>
    <?php echo $this->Html->link('Thêm giá bán', array('action' => 'add')); ?>